home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / archival / genindex / config.sh next >
Encoding:
Text File  |  1992-08-27  |  1.8 KB  |  66 lines

  1. # --------- genindex configuration (preliminary) ---------
  2.  
  3. # root directory of listing (anon ftp disk pathname)
  4. # and ftp's file prefix after chroot (usually "/")
  5. # if not set here, 1st and 2nd arguments to genindex are used
  6. # second argument defaults to "/"
  7. #ROOT="/home/ftp"
  8. #PREFIX="/"
  9.  
  10. # name of ftpserver (aliasname `ftp', if available)
  11. SERVERNAME="unknown"
  12. SERVERADDR="an-internet-address"
  13. SERVERORG="your organization"
  14.  
  15. # mail address of ftpadmin
  16. FTPADM="ftpadm@$SERVERNAME"
  17.  
  18. # other server information (optional)
  19. ACCESS="no restrictions"
  20. LOCATION="town, country, optional coordinates"
  21.  
  22. # uid of anonymous ftp user -- sorry, there is no portable way
  23. # to grep it from passwd, YP or what-ever-you-use
  24. ANONUSER="ftp"
  25.  
  26. # mail program
  27. MAILPROG="/bin/mail"
  28.  
  29. # location of file containing pathnames to be ignored
  30. # format: one regex per line; regex compared with full pathname (but
  31. # without prefix). "." does not have special meaning.
  32. # matching directories are pruned (subdirs are ignored)
  33. # example: "./etc" matches directory /etc and all subdirs
  34. #   "*/amiga" matches all files and directories with exact name "amiga"
  35. #   "*/.*" matches files and directories beginning with a dot
  36. IGNORENAME="$1/.ignore-index"
  37.  
  38. # tmp directory, ~ 5 MB needed (for 1 GB archive size)
  39. if [ "${TMPDIR-notmpdirset}" = "notmpdirset" ]; then
  40.     TMPDIR=/tmp
  41. fi
  42. export TMPDIR
  43.  
  44. # location of GNU find
  45. GFIND=/usr/gnu/bin/gfind
  46.  
  47. # usual or special ls
  48. LS=/bin/ls
  49.  
  50. # sort options, comment SORTOPTS out if you don't want to sort
  51. # sort is not fully tested --cross 28aug92
  52. bypath="+4"
  53. #bydate="+2.7n +2.3M +2.0n +3n +3.3n"    # POSIX only!
  54. #reverse="-r"
  55. caseinsensitive="-f"
  56. other="-T $TMPDIR"
  57. SORTOPTS="$bypath $reverse $caseinsensitive $other"
  58.  
  59. # diff args
  60. DIFFARGS="-c1"
  61.  
  62. # server's home timezone (not INDEX listing timezone!)
  63. SERVERZONE="`$GFIND /dev/null -printf '%TZ'`"
  64.  
  65. # end of configuration
  66.